<template>
  <div>
    <header-view-vue v-if="showPage === 0" />

    <router-view></router-view>
    <footer-view-vue v-if="showPage === 0"></footer-view-vue>
    <!-- <footer-down></footer-down> -->
  </div>
</template>

<script>
import '@/assets/css/style.css'
import 'element-ui/lib/theme-chalk/index.css';
import HeaderViewVue from './views/HeaderView.vue'
import FooterViewVue from './views/FooterView.vue'
import { mapState } from 'vuex'
import ElementUI from 'element-ui'
import Vue from 'vue'

Vue.use(ElementUI)

export default {
  components: {
    HeaderViewVue,
    FooterViewVue
   
  },
  computed: {
    ...mapState(['showPage'])
  }, mounted() {
    console.log('✅ App.vue 已挂载');
  }
}
</script>

<style></style>
